/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.core;

import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for Office.SharedWorkspace*/
public class SharedWorkspace extends JavaScriptObject {

	protected SharedWorkspace() { }
	public native final Object getApplication()/*-{
		return this.Application;
	}-*/;

	public native final int getCreator()/*-{
		return this.Creator;
	}-*/;

	public native final String getName()/*-{
		return this.Name;
	}-*/;

	public native final void setName(String value)/*-{
		this.Name = value;
	}-*/;

	public native final SharedWorkspaceMembers getMembers()/*-{
		return this.Members;
	}-*/;

	public native final SharedWorkspaceTasks getTasks()/*-{
		return this.Tasks;
	}-*/;

	public native final SharedWorkspaceFiles getFiles()/*-{
		return this.Files;
	}-*/;

	public native final SharedWorkspaceFolders getFolders()/*-{
		return this.Folders;
	}-*/;

	public native final SharedWorkspaceLinks getLinks()/*-{
		return this.Links;
	}-*/;

	public native final void refresh()/*-{
		this.Refresh( );
	}-*/;

	public native final void createNew( Object uRL,  Object name)/*-{
		this.CreateNew( uRL, name);
	}-*/;

	public native final void delete()/*-{
		this.Delete( );
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final String getURL()/*-{
		return this.URL;
	}-*/;

	public native final boolean getConnected()/*-{
		return this.Connected;
	}-*/;

	public native final JavaScriptObject getLastRefreshed()/*-{
		return this.LastRefreshed;
	}-*/;

	public native final String getSourceURL()/*-{
		return this.SourceURL;
	}-*/;

	public native final void setSourceURL(String value)/*-{
		this.SourceURL = value;
	}-*/;

	public native final void removeDocument()/*-{
		this.RemoveDocument( );
	}-*/;

	public native final void disconnect()/*-{
		this.Disconnect( );
	}-*/;

}
